package com.dao;

import java.util.List;

import com.model.Proanswer;
import com.util.Pagination;

public interface ProanswerDao {

    public void save(Proanswer transientInstance);

    public void delete(Proanswer persistentInstance);

    public Proanswer findById(java.lang.Integer id);

    public Pagination StuScore(Proanswer instance, Pagination paperPage);

    public List findAll();

    public Proanswer merge(Proanswer detachedInstance);

    public List<Proanswer> getProanswerList(Proanswer proanswer, Pagination page);

    public List paerInfo(int uid, int pid, String flag);

    public List<?> showRank();

    public List rankInfo(int id);

    public List<?> showDifficulty();

    public List difficultyInfo(int id);

}
